import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import naive from 'naive-ui'
// 通用字体
import 'vfonts/Lato.css'
// 等宽字体
import 'vfonts/FiraCode.css'
import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'
import TEditor from './components/TEditor.vue'
import _axios from './plugins/axios'

const app = createApp(App)
app.config.globalProperties.$axios = _axios
app.use(store).use(router).use(ElementPlus).use(naive).component('TEditor', TEditor).mount('#app')
